package com.wzy.oa_sys.service.schedule;

import com.wzy.oa_sys.model.request.schedule.ScheduleReq;
import com.wzy.oa_sys.model.response.schedule.ScheduleResp;
import com.wzy.oa_sys.model.response.task.TaskResp;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ScheduleService {
    List<ScheduleResp> getScheduleList();

    void addSchedule(ScheduleReq scheduleReq, long l);

    int deleteScheduleById(Integer id);

    ScheduleResp getScheduleDetailById(Integer id);

    List<ScheduleResp> getMyScheduleList(long myId);

    void updateSchedule(ScheduleReq scheduleReq, Long userId);

    void reminder(Integer id,HttpServletRequest request);
}
